package com.elitel.frame.base.service;

import com.elitel.frame.main.entity.CfgTable;
import com.elitel.frame.main.entity.vo.KeyValueModelVo;

import java.util.List;
import java.util.Map;

public interface KuduService {
    List<KeyValueModelVo> getAllFieldByTableName(String dbName, String tableName);

    List<String> getPrimaryKey(String dbName, String tableName);

    List<String> getAllTables(String dbName);

    void refreshKuduTableCount(String dbKey,String table_name);

    void refreshSingleTableCount(CfgTable cfgTable);

    Map<String, String> getPrimaryKeyMap(String dbName);

    Map<String, List<KeyValueModelVo>> getAllFieldMap(String dbName);

    List<Map<String, Object>> getKuduTableCount(String dbKey,String tableName);
}
